﻿
using System.Collections.Generic;

namespace Labthink.PCSoft.UniversalHost4.Model.TempCtrl
{
    public enum TpctType
    {
        Tpct7048,
        Tpct518P
    }

    public class Tpct
    {
        public string Lan { get; set; }
        public string Name { get; set; }
        public TpctType Type { get; set; }
        public int Index { get; set; }
    }

    public class TpctParam : Tpct
    {
        public int Channel { get; set; }
        public List<ParamValue> Params { get; set; }
        public List<int> CtrlOpen { get; set; }
        public List<int> CtrlClose { get; set; }
        public int Umc { get; set; }
        public int CurrentParamId { get; set; }
        public string ShowUnit { get; set; }
    }

    public class ParamValue
    {
        public string Name { get; set; }
        public string Lan { get; set; }
        public int ParamId { get; set; }
        public int Umc { get; set; }
        public double Value { get; set; }
    }
}
